#include "Queue.h"

void test1()
{
	Queue que;
	QueueInit(&que);

	QueuePush(&que, 1);
	printf("%p\n%p", que.front, que.rear);
	QueuePush(&que, 2);
	QueuePush(&que, 3);
	QueuePush(&que, 4);

	printf("%d\n", QueueSize(&que));

	QueuePush(&que, 5);
	QueuePush(&que, 6);

	while (!QueueEmpty(&que))
	{
		printf("%d ", QueueFront(&que));
		QueuePop(&que);
	}

	QueueDestroy(&que);
}

int main()
{
	test1();

	return 0;
}